AT-NFC  2.1 (win)
AT-NFC kernel set
Macros | Typedefs
t_nfc_user_clb.h File Reference
#include <emv_platform_set_align.h>
#include <emv_platform_restore_align.h>

Go to the source code of this file.

Macros

#define NUM_T_NFC_USER_CALLBACK_HANDLE   200
 Code, used to register handle to be passed to user callbacks (T_NFC_USER_CALLBACK_DE_DATA_FROM_KERNEL, etc... * /.
 
#define NUM_T_NFC_USER_CALLBACK_DE_DATA_FROM_KERNEL   201
 Code, used to register T_NFC_USER_CALLBACK_DE_DATA_FROM_KERNEL.
 
#define NUM_T_NFC_USER_CALLBACK_DE_DATA_FROM_TERMINAL   202
 Code, used to register NUM_T_NFC_USER_CALLBACK_DE_DATA_FROM_TERMINAL.
 
#define NUM_T_NFC_USER_CALLBACK_DE_DATA_RELEASE   203
 Code, used to register T_NFC_USER_CALLBACK_DE_DATA_RELEASE.
 
#define NUM_T_NFC_USER_CALLBACK_UI_SCHEDULE_CHANGE_REQUEST   210
 Code, used to register T_NFC_USER_CALLBACK_UI_SCHEDULE_CHANGE_REQUEST callback through t_nfc_RegisterCallback.
 
#define NUM_T_NFC_USER_CALLBACK_UI_CANCEL_CHANGE_REQUEST   211
 Code, used to register T_NFC_CALLBACK_UI_CANCEL_CHANGE_REQUEST callback through t_nfc_RegisterCallback.
 
#define NUM_T_NFC_USER_CALLBACK_ONLINE_CHECK   220
 Code, used to register T_NFC_USER_CALLBACK_ONLINE_CHECK.
 
#define T_NFC_USER_CALLBACK_DE_RES_OK   0x0000
 terminal data request result definition More...
 
#define T_NFC_USER_CALLBACK_DE_RES_TIMEOUT   0x0001
 
#define T_NFC_USER_CALLBACK_DE_RES_NO_DATA   0x0002
 
#define T_NFC_USER_CALLBACK_DE_RES_FAIL   0x0003
 

Typedefs

typedef KER_BOOL(KER_API * T_NFC_USER_CALLBACK_DE_DATA_FROM_KERNEL) (KER_VOID *pCallbackHandle, const KER_BYTE *pbtData, KER_INT16U usDataLen)
 Callback type for data exchange to pass card/kernel data to terminal. More...
 
typedef KER_INT16U(KER_API * T_NFC_USER_CALLBACK_DE_DATA_FROM_TERMINAL) (KER_VOID *pCallbackHandle, KER_INT16U usTimeout, KER_INT16U usParam, KER_VOID *pParam, KER_BYTE **ppbtData, KER_INT16U *pusDataLen)
 Callback type for data exchange. More...
 
typedef KER_BOOL(KER_API * T_NFC_USER_CALLBACK_DE_DATA_RELEASE) (KER_VOID *pCallbackHandle, KER_BYTE *pbtData, KER_INT16U usDataLen)
 Callback type for data exchange. More...
 
typedef KER_INT16U(KER_API * T_NFC_USER_CALLBACK_UI_SCHEDULE_CHANGE_REQUEST) (KER_VOID *pCallbackHandle, KER_INT32U ulDelayTime, const NFC_OUTCOME_UI *pUI)
 Schedule async change User Interface request. More...
 
typedef KER_BOOL(KER_API * T_NFC_USER_CALLBACK_UI_CANCEL_CHANGE_REQUEST) (KER_VOID *pCallbackHandle, KER_INT16U usRequestID)
 Cancel prev. scheduled async change User Interface request. More...
 
typedef KER_BOOL(KER_API * T_NFC_USER_CALLBACK_ONLINE_CHECK) (KER_VOID *pCallbackHandle)
 Checks for unable to go online condition (for AmEx C-4). More...
 

Detailed Description

nfc user callback interface